package com.group.transaction.controller;

import com.group.transaction.aspect.InMethod;
import com.group.transaction.domain.OperationLog;
import com.group.transaction.domain.User;
import com.group.transaction.model.ResultJson;
import com.group.transaction.service.operationLog.OperationLogSerivce;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/operationLog")
public class OperationLogController {

    @Resource
    private OperationLogSerivce operationLogSerivce;

    @GetMapping ("/queryOperationLogData")
    @InMethod(apiName = "查询操作日志")
    public ResultJson queryOperationLogData ( OperationLog operationLog) {
        return operationLogSerivce.queryOperationLogData(operationLog);
    }
}
